package ucapital

import "sync"

type Capital struct {
	Cap 		Capitaller
}

func (c *Capital) SetChannel(cap Capitaller)  {
	c.Cap = cap
}

var CapitalInst *Capital
var capitalOnce sync.Once

func init()  {
	capitalOnce.Do(func() {
		CapitalInst = new(Capital)
	})
}
